/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.javabeans;

import java.io.Serializable;

/**
 * @author Administrador
 */
public class MateriaPensum implements Serializable{
    private int idPensum;
    private int idCarrera;
    private int idMateria;
    private int level;
    private boolean electiva;
    private int idPensumPa;
    private int idCarreraPa;
    private int idMateriaPa;
    private boolean activo;
    private MateriaPensum padreMateria;
    private Materia materia;
    private Pensum pensum;
    public MateriaPensum(){}

    public int getLevel() {
        return level;
    }

    public int getIdCarrera() {
        return idCarrera;
    }

    public int getIdMateria() {
        return idMateria;
    }

    public int getIdPensum() {
        return idPensum;
    }

    public boolean isActivo() {
        return activo;
    }

    public MateriaPensum getPadreMateria() {
        return padreMateria;
    }

    public Materia getMateria() {
        return materia;
    }

    public Pensum getPensum() {
        return pensum;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public void setIdCarrera(int idCarrera) {
        this.idCarrera = idCarrera;
    }

    public void setIdMateria(int idMateria) {
        this.idMateria = idMateria;
    }

    public void setIdPensum(int idPensum) {
        this.idPensum = idPensum;
    }

    public void setActivo(boolean activo) {
        this.activo = activo;
    }

    public void setPadreMateria(MateriaPensum padreMateria) {
        this.padreMateria = padreMateria;
    }

    public void setMateria(Materia materia) {
        this.materia = materia;
    }

    public void setPensum(Pensum pensum) {
        this.pensum = pensum;
    }

    public boolean isElectiva() {
        return electiva;
    }

    public void setElectiva(boolean electiva) {
        this.electiva = electiva;
    }

    public int getIdPensumPa() {
        return idPensumPa;
    }

    public int getIdCarreraPa() {
        return idCarreraPa;
    }

    public int getIdMateriaPa() {
        return idMateriaPa;
    }

    public void setIdPensumPa(int idPensumPa) {
        this.idPensumPa = idPensumPa;
    }

    public void setIdCarreraPa(int idCarreraPa) {
        this.idCarreraPa = idCarreraPa;
    }

    public void setIdMateriaPa(int idMateriaPa) {
        this.idMateriaPa = idMateriaPa;
    }
}
